package com.kaka.bus.engine.borrow.phone;

import android.app.Activity;

import com.kaka.bus.bean.HttpWrapper;
import com.kaka.bus.mvp.BasePresenter;
import com.kaka.bus.mvp.BaseView;

import java.util.Map;

/**
 * Created by zhangqi on 2016/10/18.
 * e-mail : ${email}
 * desc :
 */

public interface PhoneYzmContract {

    interface View extends BaseView {
        void time();
        void saveId(String id);
        void timeOut(HttpWrapper<String> wrapper);
        void getResult(HttpWrapper<String> wrapper);
    }

    interface Presenter extends BasePresenter<View> {

        void commitYzm(Map<String,String> map, String tips);

        void router(Activity activity);

    }

}
